#!/bin/bash

docker pull registry.cn-hangzhou.aliyuncs.com/liyan/calico-node:v3.3
docker tag registry.cn-hangzhou.aliyuncs.com/liyan/calico-node:v3.3 quay.io/calico/node:v3.3
docker rmi registry.cn-hangzhou.aliyuncs.com/liyan/calico-node:v3.3

docker pull registry.cn-hangzhou.aliyuncs.com/liyan/calico-cni:v3.3
docker tag registry.cn-hangzhou.aliyuncs.com/liyan/calico-cni:v3.3 quay.io/calico/cni:v3.3
docker rmi registry.cn-hangzhou.aliyuncs.com/liyan/calico-cni:v3.3

docker pull registry.cn-hangzhou.aliyuncs.com/liyan/pause:v3.1
docker tag registry.cn-hangzhou.aliyuncs.com/liyan/pause:v3.1 k8s.gcr.io/pause-amd64:3.1
docker rmi registry.cn-hangzhou.aliyuncs.com/liyan/pause:v3.1

docker pull registry.cn-hangzhou.aliyuncs.com/liyan/calico-typha:v3.3
docker tag registry.cn-hangzhou.aliyuncs.com/liyan/calico-typha:v3.3 quay.io/calico/typha:v3.3
docker rmi registry.cn-hangzhou.aliyuncs.com/liyan/calico-typha:v3.3

docker pull registry.cn-hangzhou.aliyuncs.com/liyan/coredns:v1.6.2
docker tag registry.cn-hangzhou.aliyuncs.com/liyan/coredns:v1.6.2 k8s.gcr.io/coredns:v1.6.2
docker rmi registry.cn-hangzhou.aliyuncs.com/liyan/coredns:v1.6.2

docker pull registry.cn-hangzhou.aliyuncs.com/liyan/kubernetes-dashboard:v2.0.0-beta8
docker tag registry.cn-hangzhou.aliyuncs.com/liyan/kubernetes-dashboard:v2.0.0-beta8 k8s.gcr.io/kubernetes-dashboard:v2.0.0-beta8
docker rmi registry.cn-hangzhou.aliyuncs.com/liyan/kubernetes-dashboard:v2.0.0-beta8
